<?php
if($_SERVER["PHP_SELF"] != $CONFIG['phpself'])
exit();
?>
<div class="<?php if($_SESSION['AchTypeofAchievement'][$GET_VAR_PART] =="condition") 
echo "divblock2";
else
echo "divblock";?>" id="divcondition">
<div class="divblocktype"><h3><?php echo $ADMIN_BLOCKKILL_CONDITION[$Lang]; ?></h3></div>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
	<td><span style="color: rgb(255, 0, 0);">1) <?php echo $ADMIN_BLOCKCONDITION_18[$Lang]; ?></span><br/><input
 name="B1Condition" value="victim" id="victim" type="radio" <?php if($_SESSION['AchConditonWho'][$GET_VAR_PART] == "victim") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKKILL_VICTIM[$Lang]; ?><input name="B1Condition"
 value="attacker" id="attacker" <?php if($_SESSION['AchConditonWho'][$GET_VAR_PART] == "attacker") echo 'checked="checked"';?> type="radio"><?php echo $ADMIN_BLOCKKILL_ATTACK[$Lang]; ?><input name="B1Condition" value="assist" <?php if($_SESSION['AchConditonWho'][$GET_VAR_PART] == "assist") echo 'checked="checked"';?>
 type="radio" id="assist"><?php echo $ADMIN_BLOCKKILL_ASSIST[$Lang]; ?>
 </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
	<td style="width: 454px;"><span style="color: rgb(255, 0, 0);">2)  <?php echo $ADMIN_BLOCKCONDITION_20[$Lang]; ?></span><br/>
	<input name="B2Conditon" value="1" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "1" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_1[$Lang]; ?><br/>
	<input name="B2ConditonHealth1" value="<?php echo $_SESSION['AchB2ConditonHealth1'][$GET_VAR_PART]; ?>">  -  <input name="B2ConditonHealth2" value="<?php echo $_SESSION['AchB2ConditonHealth2'][$GET_VAR_PART]; ?>"><br/>
	<input name="B2Conditon" value="2" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "2" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_21[$Lang]; ?><br/>
	<input name="B2ConditonDistance1" value="<?php echo $_SESSION['AchB2ConditonDistance1'][$GET_VAR_PART]; ?>">  -  <input name="B2ConditonDistance2" value="<?php echo $_SESSION['AchB2ConditonDistance2'][$GET_VAR_PART]; ?>"><br/>
	<input name="B2Conditon" value="3" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "3" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_2[$Lang]; ?><br/>
	<select name="B2ConditonChapeau">
	<option value=""><?php echo $HATSCHOOSE[$Lang]; ?></option>
	<optgroup label="Classless">
	<option value="116" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "116") echo 'selected="selected"'; ?>><?php echo $HATS1[$Lang]; ?></option>
	<option value="115" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "115") echo 'selected="selected"'; ?>><?php echo $HATS2[$Lang]; ?></option>
	<option value="126" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "126") echo 'selected="selected"'; ?>><?php echo $HATS3[$Lang]; ?></option>
	<option value="125" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "125") echo 'selected="selected"'; ?>><?php echo $HATS4[$Lang]; ?></option>
	<option value="134" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "134") echo 'selected="selected"'; ?>><?php echo $HATS5[$Lang]; ?></option>
	<option value="135" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "135") echo 'selected="selected"'; ?>><?php echo $HATS6[$Lang]; ?></option>
	<option value="136" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "136") echo 'selected="selected"'; ?>><?php echo $HATS7[$Lang]; ?></option>
	<option value="137" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "137") echo 'selected="selected"'; ?>><?php echo $HATS8[$Lang]; ?></option>
	<option value="138" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "138") echo 'selected="selected"'; ?>><?php echo $HATS9[$Lang]; ?></option>
	<option value="139" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "139") echo 'selected="selected"'; ?>><?php echo $HATS10[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Scout">
	<option value="52" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "52") echo 'selected="selected"'; ?>><?php echo $HATS11[$Lang]; ?></option>
	<option value="106" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "106") echo 'selected="selected"'; ?>><?php echo $HATS12[$Lang]; ?></option>
	<option value="107" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "107") echo 'selected="selected"'; ?>><?php echo $HATS13[$Lang]; ?></option>
	<option value="111" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "111") echo 'selected="selected"'; ?>><?php echo $HATS14[$Lang]; ?></option>
	<option value="150" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "150") echo 'selected="selected"'; ?>><?php echo $HATS46[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Soldier">
	<option value="54" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "54") echo 'selected="selected"'; ?>><?php echo $HATS15[$Lang]; ?></option>
	<option value="99" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "99") echo 'selected="selected"'; ?>><?php echo $HATS16[$Lang]; ?></option>
	<option value="98" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "98") echo 'selected="selected"'; ?>><?php echo $HATS17[$Lang]; ?></option>
	<option value="121" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "121") echo 'selected="selected"'; ?>><?php echo $HATS18[$Lang]; ?></option>
	<option value="152" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "152") echo 'selected="selected"'; ?>><?php echo $HATS48[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Pyro">
	<option value="51" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "51") echo 'selected="selected"'; ?>><?php echo $HATS19[$Lang]; ?></option>
	<option value="105" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "105") echo 'selected="selected"'; ?>><?php echo $HATS20[$Lang]; ?></option>
	<option value="102" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "102") echo 'selected="selected"'; ?>><?php echo $HATS21[$Lang]; ?></option>
	<option value="151" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "151") echo 'selected="selected"'; ?>><?php echo $HATS47[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Demoman">
	<option value="47" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "47") echo 'selected="selected"'; ?>><?php echo $HATS22[$Lang]; ?></option>
	<option value="100" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "100") echo 'selected="selected"'; ?>><?php echo $HATS23[$Lang]; ?></option>
	<option value="120" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "120") echo 'selected="selected"'; ?>><?php echo $HATS24[$Lang]; ?></option>
	<option value="146" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "146") echo 'selected="selected"'; ?>><?php echo $HATS50[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Heavy">
	<option value="49" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "49") echo 'selected="selected"'; ?>><?php echo $HATS25[$Lang]; ?></option>
	<option value="96" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "96") echo 'selected="selected"'; ?>><?php echo $HATS26[$Lang]; ?></option>
	<option value="97" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "97") echo 'selected="selected"'; ?>><?php echo $HATS27[$Lang]; ?></option>
	<option value="145" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "145") echo 'selected="selected"'; ?>><?php echo $HATS43[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Engineer">
	<option value="48" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "48") echo 'selected="selected"'; ?>><?php echo $HATS28[$Lang]; ?></option>
	<option value="94" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "94") echo 'selected="selected"'; ?>><?php echo $HATS29[$Lang]; ?></option>
	<option value="95" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "95") echo 'selected="selected"'; ?>><?php echo $HATS30[$Lang]; ?></option>
	<option value="118" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "118") echo 'selected="selected"'; ?>><?php echo $HATS31[$Lang]; ?></option>
	<option value="148" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "148") echo 'selected="selected"'; ?>><?php echo $HATS45[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Medic">
	<option value="50" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "50") echo 'selected="selected"'; ?>><?php echo $HATS32[$Lang]; ?></option>
	<option value="101" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "101") echo 'selected="selected"'; ?>><?php echo $HATS33[$Lang]; ?></option>
	<option value="104" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "104") echo 'selected="selected"'; ?>><?php echo $HATS34[$Lang]; ?></option>
	<option value="144" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "144") echo 'selected="selected"'; ?>><?php echo $HATS42[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Sniper">
	<option value="53" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "53") echo 'selected="selected"'; ?>><?php echo $HATS35[$Lang]; ?></option>
	<option value="109" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "109") echo 'selected="selected"'; ?>><?php echo $HATS36[$Lang]; ?></option>
	<option value="110" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "110") echo 'selected="selected"'; ?>><?php echo $HATS37[$Lang]; ?></option>
	<option value="117" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "117") echo 'selected="selected"'; ?>><?php echo $HATS38[$Lang]; ?></option>
	<option value="158" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "158") echo 'selected="selected"'; ?>><?php echo $HATS49[$Lang]; ?></option>
	</optgroup>
	<optgroup label="Spy">
	<option value="55" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "55") echo 'selected="selected"'; ?>><?php echo $HATS39[$Lang]; ?></option>
	<option value="108" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "108") echo 'selected="selected"'; ?>><?php echo $HATS40[$Lang]; ?></option>
	<option value="103" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "103") echo 'selected="selected"'; ?>><?php echo $HATS41[$Lang]; ?></option>
	<option value="147" <?php if ($_SESSION['AchB2ConditonChapeau'][$GET_VAR_PART] == "147") echo 'selected="selected"'; ?>><?php echo $HATS43[$Lang]; ?></option>
	</optgroup>
	</select><br/>
	<input name="B2Conditon" value="4" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "4" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_3[$Lang]; ?><br/>
	<input name="B2Conditon" value="5" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "5" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_4[$Lang]; ?><br/>
	<input name="B2Conditon" value="6" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "6" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_5[$Lang]; ?><br/>
	<input name="B2Conditon" value="7" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "7" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_6[$Lang]; ?><br/>
	<input name="B2Conditon" value="8" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "8" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_7[$Lang]; ?><br/>
	<input name="B2Conditon" value="9" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "9" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_8[$Lang]; ?><br/>
	<input name="B2Conditon" value="10" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "10" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_9[$Lang]; ?><br/>
	<input name="B2Conditon" value="11" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "11" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_10[$Lang]; ?><br/>
	<input name="B2Conditon" value="12" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "12" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_11[$Lang]; ?><br/>
	<input name="B2Conditon" value="13" type="radio" <?php if( $_SESSION['AchB2Conditon'][$GET_VAR_PART] == "13" ) echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKCONDITION_12[$Lang]; ?><br/>
	
	</td>
</tr>
</tbody>
</table>
<br/><br/>
</div>